Xbasic

WIN_TIME Function

Syntax

as P = win_time([C computer ])

Arguments

P

A pointer variable containing information about the time settings of a computer.

computer

Optional. Default = "." (local computer). The name of the computer to analyze.

Description

The WIN_TIME() function returns information about the Windows time settings of a computer.

Discussion

Example

? win_time() 
 = Day = 23 
 DayOfWeek = 4 
 Hour = 17 
 Milliseconds = 
 Minute = 18 
 Month = 6 
 Quarter = 2 
 Second = 23 
 WeekInMonth = 4 
 Year = 2005

Limitations

Legacy: This function does not work with Windows 98 and Windows ME.

See Also